<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>社团管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="Bluth Company">
    <link rel="shortcut icon" href="/study/study/Public/assets/ico/favicon.html">
    <link href="/study/study/Public/assets/css/bootstrap.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/theme.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/font-awesome.min.css" rel="stylesheet">
    <link href="/study/study/Public/assets/css/alertify.css" rel="stylesheet">
    <link rel="Favicon Icon" href="favicon.ico">
  
    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>
  <body>
    <div id="wrap">
    <div class="navbar navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container-fluid">
          <div class="logo">
            <img src="/study/study/Public/assets/img/logo.png" alt="Realm Admin Template">
          </div>
           <a class="btn btn-navbar visible-phone" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>
           <a class="btn btn-navbar slide_menu_left visible-tablet">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </a>

          <div class="top-menu visible-desktop">
            <ul class="pull-left">
           
            </ul>
            <ul class="pull-right">  
              <li><a href="<?php echo U('Login/logout');?>"><i class="icon-off"></i> Logout</a></li>
            </ul>
          </div>

          <div class="top-menu visible-phone visible-tablet">
            <ul class="pull-right">  
              <li><a title="link to View all Messages page, no popover in phone view or tablet" href="#"><i class="icon-envelope"></i></a></li>
              <li><a title="link to View all Notifications page, no popover in phone view or tablet" href="#"><i class="icon-globe"></i></a></li>
              <li><a href="<?php echo U('Login/logout');?>"><i class="icon-off"></i> </a></li>
            </ul>
          </div>

        </div>
      </div>
    </div>

    <div class="container-fluid">

      <!-- Side menu -->  
      <div class="sidebar-nav nav-collapse collapse">
        <div class="user_side clearfix">
          <img src="/study/study/Public/assets/img/odinn.jpg" alt="Odinn god of Thunder">
          <h5>Admin</h5>
          <a href="#"><i class="icon-cog"></i> Settings</a>        
        </div>
        <div class="accordion" id="accordion2">
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F79999" href="index-2.html"><i class="icon-dashboard"></i> <span>功能列表</span></a>
            </div>
          </div>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_C3F7A7 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse1"><i class="icon-magic"></i> <span>用户管理</span></a>
            </div>
            <div id="collapse1" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="users"><i class="icon-star"></i> 用户列表</a>
                <a class="accordion-toggle" href="userAdd"><i class="icon-list-alt"></i>用户添加</a>
                <a class="accordion-toggle" href="#"><i class="icon-table"></i> 用户删除</a>
                <a class="accordion-toggle" href="#"><i class="icon-circle"></i> 用户修改</a>
              </div>
            </div>
          </div>
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="icon-reorder"></i> <span>社团管理</span></a>
            </div>
            
            <div id="collapse2" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="groups"><i class="icon-rss"></i> 社团列表</a>
                <a class="accordion-toggle" href="groups"><i class="icon-rss"></i> 社团添加</a>
                <a class="accordion-toggle" href="Practices"><i class="icon-calendar"></i> 社团删除</a>
 			    <a class="accordion-toggle" href="Practices"><i class="icon-calendar"></i> 社团修改</a>
              </div>
            </div>
          </div>
          
             <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_9FDDF6 collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapse2"><i class="icon-reorder"></i> <span>社团活动管理</span></a>
            </div>
            
            <div id="collapse2" class="accordion-body collapse">
              <div class="accordion-inner">
                <a class="accordion-toggle" href="groups"><i class="icon-rss"></i> 社团列表</a>
                <a class="accordion-toggle" href="groups"><i class="icon-rss"></i> 社团活动添加</a>
                <a class="accordion-toggle" href="Practices"><i class="icon-calendar"></i> 社团活动删除</a>
 			    <a class="accordion-toggle" href="Practices"><i class="icon-calendar"></i> 社团活动修改</a>
              </div>
            </div>
          </div>
          
          <div class="accordion-group">
            <div class="accordion-heading">
              <a class="accordion-toggle b_F6F1A2" href="tasks.html"><i class="icon-tasks"></i> <span>最新动态管理</span></a>
            </div>
          </div>

        </div>
      </div>
      <!-- /Side menu -->

      <!-- Main window -->

<div class="main_container" id="forms_page">
	<div class="row-fluid">
		<ul class="breadcrumb">
			<li><a href="#">Home</a> <span class="divider">/</span></li>
			<li><a href="#">Features</a> <span class="divider">/</span></li>
			<li class="active">Forms</li>
		</ul>
		<h2 class="heading">添加社团信息</h2>
	</div>

	<div class="row-fluid">
		<div class="widget widget-padding span12">

			<div class="widget-header">
				<i class="icon-list-alt"></i>
				<h5>社团信息</h5>

				<div class="widget-buttons">
					<a href="#" data-title="Collapse" data-collapsed="false"
						class="tip collapse" data-original-title=""><i
						class="icon-chevron-up"></i></a>
				</div>
			</div>

			<div class="widget-body">
				<div class="widget-forms clearfix">
					<form class="form-horizontal" method="post"
						enctype="multipart/form-data" action="groupAdd">

						<input type="hidden" name="gid" value="">

						<div class="control-group">
							<label for="groupname" class=" control-label">社团名称</label>
							<div class="controls">
								<input type="text" class="form-control" id="groupname"
									name="groupname" placeholder="groupname"
									value="">
							</div>
						</div>

						<div class="control-group">
							<label for="team" class="control-label">所在团队名</label>

							<div class="controls">
								<input type="team" class=" form-control " id="team" name="team"
									placeholder="team" value="">
							</div>
						</div>

						<div class="control-group">
							<label for="intro" class="col-md-2 control-label">介绍</label>
							<div class="controls">
								<input type="text" class="form-control" id="intro" name="intro"
									placeholder="intro" value="">
							</div>
						</div>

						<div class="control-group">
							<label for="image" class="col-md-2 control-label">Logo</label>
							<div class="controls">
								<img class="img-rounded" id="image"
									src="/study/study/Public/Uploads/photo/<?php echo ($group["logo"]); ?>" alt="no pic"
									width=150px;height=150px; />
							</div>
						</div>

						<div class="control-group">
							<label for="photo" class="col-md-2 control-label">修改Logo</label>
							<div class="controls">
								<input type="file" id="photo" name="photo">
							</div>

						</div>
						<div class="control-group">
							<label class="control-label">Date Picker</label>
							<div class="controls">
								<div class="input-append date span5 datepicker datepicker-basic"
									data-date="12-02-2012" data-date-format="dd-mm-yyyy">
									<input size="16" type="text" value="">
									<span class="add-on"><i class="icon-th"></i></span>
								</div>
							</div>
						</div>



						<input type="hidden" name="createtime" value="sysdate()">

						<div class="control-group">
							<label for="leader" class="col-md-2 control-label">负责人学号</label>
							<div class="controls">
								<input type="text" class="form-control" id="leader"
									name="leader" placeholder="leader" value="<?php echo ($group["leader"]); ?>">
							</div>
						</div>
					</form>
				</div>
			</div>

			<div class="widget-footer">
				<button class="btn btn-primary" type="submit">Save</button>
				<button class="btn" type="button">Cancel</button>
			</div>
		</div>
	</div>



	
    </div><!--/.fluid-container-->
    </div><!-- wrap ends-->

    <!-- Example Modal -->
    <div id="example_modal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
        <h3 id="myModalLabel">Add user/employee</h3>
      </div>
      <div class="modal-body">
        <p>Here you can insert the user creation form</p>
      </div>
      <div class="modal-footer">
        <button class="btn" data-dismiss="modal" aria-hidden="true">Close</button>
        <button class="btn btn-primary">Save changes</button>
      </div>
    </div>  

    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery-ui.min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/raphael-min.js"></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/bootstrap.js"></script>
    <script type="text/javascript" src='/study/study/Public/assets/js/sparkline.js'></script>
    <script type="text/javascript" src='/study/study/Public/assets/js/morris.min.js'></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.dataTables.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.masonry.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.imagesloaded.min.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.facybox.js"></script>   
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.alertify.min.js"></script> 
    <script type="text/javascript" src="/study/study/Public/assets/js/jquery.knob.js"></script>
    <script type='text/javascript' src='/study/study/Public/assets/js/fullcalendar.min.js'></script>
    <script type='text/javascript' src='/study/study/Public/assets/js/jquery.gritter.min.js'></script>
    <script type="text/javascript" src="/study/study/Public/assets/js/realm.js"></script>
  </body>
</html>